package org.jeecg.common.base;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.experimental.Accessors;
import org.jeecg.common.serial.JsonLongSerializer;

import java.io.Serializable;

/**
 * @author yann
 * @date 2020/02/04
 * @description: DO基类
 */
@Data
@Accessors(chain = true)
public class BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = JsonLongSerializer.class )
    private Long id;

}
